iT邦幫忙

2021 iThome 鐵人賽

DAY 16
0
自我挑戰組

NetSuite Foundation & Customization系列 第 16

SuiteScript - Entry Point

  • 分享至 

  • xImage
  •  

Schedule Script

  • execute

Map/Reduce Script

  • getInputData(inputContext):Marks the beginning of the map/reduce script execution. Invokes the input stage. This function is invoked one time in the execution of the script.

  • map(mapContext): Optional, but if this entry point is skipped, the reduce(reduceContext) entry point is required. Invokes the map stage. If this entry point is used, the map function is invoked one time for each key/value pair provided by the getInputData(inputContext) function.

reduce: Optional, but if this entry point is skipped, the map(mapContext) entry point is required. Invokes the reduce stage. If this entry point is used, the reduce function is invoked one time for each key and list of values provided. Data is provided either by the map stage or, if the map stage is not used, by the getInputData stage.

summarize(summaryContext): Invokes the summarize stage. If the summarize entry point is used, the summarize function is invoked one time in the execution of the script.


上一篇
SuiteScript - Entry Point
系列文
NetSuite Foundation & Customization16
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言